﻿using Framework.Models.Entities;
using Framework.Utility.Security;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders; 

namespace Framework.EF.ModelConfigurations
{
    internal class Fw_RelevanceConfiguration : IEntityTypeConfiguration<Fw_Relevance>
    {
        public void Configure(EntityTypeBuilder<Fw_Relevance> entity)
        {
            entity.HasKey(e => e.Id).HasName("PRIMARY");

            entity.ToTable("Fw_Relevance"); 
        }
    } 
}
